package cn.iocoder.yudao.module.cmt.dal.dataobject.team;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * TeamApply DO
 *
 * @author 芋道源码
 */
@TableName("cmt_team_apply")
@KeySequence("cmt_team_apply_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamApplyDO extends BaseDO {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 社区ID
     */
    private Long communityId;
    /**
     * 社区名称
     */
    @TableField(exist = false)
    private String communityName;
    /**
     * 团队ID
     */
    private Long teamId;
    /**
     * 团队名称
     */
    @TableField(exist = false)
    private String teamName;
    /**
     * 会员ID
     */
    private Long userId;
    /**
     * 人员ID
     */
    private Long personId;
    /**
     * 申请留言
     */
    private String applyMessage;
    /**
     * 申请状态：0待审核 1通过 2拒绝 3候补
     */
    private Integer applyStatus;
    /**
     * 审核人ID
     */
    private Long auditUserId;
    /**
     * 审核时间
     */
    private LocalDateTime auditTime;
    /**
     * 审核备注
     */
    private String auditRemark;

}
